package com.qf.service;

import com.qf.entity.*;

import java.util.List;

public interface ISearchService {

    boolean createIndex();

    boolean deleteIndex();

    void syncDatabase();

    int insertHotal(Hotal hotal);

    boolean insertRoom(Room room);

    int insertRoomPrice(Integer hid, List<RoomPrice> roomPrices);

    int updateRoomPrice(Integer hid,RoomPrice roomPrice);

    List<Hotal> searchHotalList(SearchParams searchParams);

    int updateRoomNumber(PricesParams pricesParams);
}
